package org.hzy.entity;

import java.sql.Blob;

/**
 * Blobs entity. @author MyEclipse Persistence Tools
 */

public class Blobs implements java.io.Serializable {

	// Fields

	private Integer bid;
	private String bname;
	private String bcontent;
	private Blob bphoto;

	// Constructors

	/** default constructor */
	public Blobs() {
	}

	/** minimal constructor */
	public Blobs(Integer bid) {
		this.bid = bid;
	}

	/** full constructor */
	public Blobs(Integer bid, String bname, String bcontent, Blob bphoto) {
		this.bid = bid;
		this.bname = bname;
		this.bcontent = bcontent;
		this.bphoto = bphoto;
	}

	// Property accessors

	public Integer getBid() {
		return this.bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

	public String getBname() {
		return this.bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public String getBcontent() {
		return this.bcontent;
	}

	public void setBcontent(String bcontent) {
		this.bcontent = bcontent;
	}

	public Blob getBphoto() {
		return bphoto;
	}

	public void setBphoto(Blob bphoto) {
		this.bphoto = bphoto;
	}
	
	

}